package com.app.client;

import com.app.api.HelloApi;
import com.xhga.client.RpcProxy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Hua wb on 2018/11/30.
 */
@Configuration
public class ClientConfig {
    @Bean
    public HelloApi helloApi(){
        return new RpcProxy().getInstance(HelloApi.class);
    }
}
